package com.illtamer.infinite.sillage.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.illtamer.infinite.sillage.pojo.Type;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TypeMapper extends BaseMapper<Type> {

    /**
     * 级联 Blog 仅查询少量数据
     * */
    List<Type> listThinTypes();

    Page<Type> listThinTypes(@Param("page") Page<Type> page);
}
